﻿package frEngine.shader.registType
{
    import frEngine.shader.filters.*;
    import frEngine.shader.registType.base.*;

    public class VaParam extends RegistParam
    {
        public var format:String;
        public var vertexNameId:int;

        public function VaParam(param1:int, param2:String, param3:String)
        {
            this.format = param2;
            this.vertexNameId = FilterName_ID.getVertexNameId(param3);
            super("va" + param1, param1, param3, null);
            return;
        }// end function

        public function clone() : VaParam
        {
            return new VaParam(this.index, this.format, this.paramName);
        }// end function

    }
}
